package com.glorystone.ins.dao;

import com.glorystone.ins.common.common.PageVo;
import com.glorystone.ins.common.common.Pageable;
import com.glorystone.ins.domain.Repaying;
import com.glorystone.ins.interceptor.PageList;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author:LiuSC
 * @Date:Created in 2018-03-20 10:07
 * @since: JDK 1.7
 * @Description:
 */
public interface RepayingMapper {

    PageList<Repaying> queryRepayList(@Param("vo") PageVo vo, Pageable pageable);

    int updateOrder(Repaying repay);

    int updateCapital(Repaying repay);

    List<Repaying> getRepayList(Map<String,String> map);
}
